/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package InterfaceUser;

/**
 * Interface FromUser
 * @author Duy Duc, Metangmo
 */
public interface FromUser {
    /**
     * connect:
     * function en charge of connecting the user to the ChatSystem
     * @param username
     *        Nickname of the user
     */
    public void connect(String username);
    
    /**
     * disconnect:
     * function en charge of disconnecting the user from the ChatSystem
     */
    public void disconnect();
    
    /**
     * sendMessage:
     * function en charge of sending a message to a chosen recipient by the user
     */
    public void sendMessage();
    
    /**
     * selectFile:
     * function en charge of selecting a file to transfer
     */
    public void selectFile();
    
    /**
     * selectUser:
     * function en charge of selecting the users for communicating
     */
    public void selectUser();
    
}
